<template>
  <div class="center">
    <LeftView></LeftView>
    <RightView></RightView>
  </div>
</template>

<script setup lang="ts">
import LeftView from './components/leftView/index.vue'
import RightView from './components/rightView/index.vue'
import useUserInfoStore from '@/store/modules/userInfo'
import { onMounted } from 'vue';
const userInfoStore = useUserInfoStore()
onMounted( async () => {
  await userInfoStore?.getUserInfo();
})
</script>

<style lang="less" scoped>
.center {
  width: 1200px;
  margin: 20px auto 0;
  height: 1000px;
  display: flex;
}
</style>